package proxy;

public class UserServiceImpl implements UserService,StudentsService{
    @Override
    public void add() {
        System.out.println("add");
    }

    @Override
    public void delete() {
        System.out.println("delete");
    }

    @Override
    public String getName() {
        System.out.println("getName");
        return "getName";
    }

    @Override
    public Integer getAge(Integer age) {
        System.out.println("获得年龄："+age);
        return age;
    }

    @Override
    public void getNameAndAge(String name, Integer age) {
        System.out.println(name + "的年龄为：" + age);
    }
}
